Skip to content

feat: add example OSPO agentic workflows#799

Closed
ashleywolf wants to merge 17 commits intogithub:mainfrom
ashleywolf:feat/agentic-workflows-ospo
Closed

feat: add example OSPO agentic workflows#799
ashleywolf wants to merge 17 commits intogithub:mainfrom
ashleywolf:feat/agentic-workflows-ospo

Conversation

@ashleywolf
Copy link
Collaborator

@ashleywolf ashleywolf commented Feb 23, 2026

Summary

Adds a new agentic-workflows/ directory with example GitHub Agentic Workflow files for Open Source Program Offices. These are ready-to-use .md workflow files that can be copied into a repo and compiled with gh aw compile.

New Content

agentic-workflows/README.md — Overview of what agentic workflows are, how to use them, and links to official docs.

agentic-workflows/ospo/ — 4 example OSPO workflows:

Workflow Purpose
org-health Weekly org health report — stale issues/PRs, merge times, contributor leaderboards, health alerts
contributors-report New vs. returning contributor metrics with optional Sponsors info
release-compliance-checker OSS release readiness audit — required files, security config, license compliance, risk assessment
stale-repos Detect inactive repositories (configurable threshold)

Notes

  • The agentic-workflows/ folder can expand with more categories (e.g. devrel/, security/, devops/)
  • Workflows are copy-paste ready — users put them in .github/workflows/ and compile with gh aw
  • Complements the existing ospo-readiness skill (interactive scanning vs. scheduled automation)

ashleywolf and others added 7 commits February 11, 2026 17:50
Adds a new skill that scans any GitHub repository for open source
readiness across 8 checks: LICENSE, CONTRIBUTING.md, dependency
license compatibility, README quality, SECURITY.md, CODE_OF_CONDUCT.md,
CI/CD workflows, and issue/PR templates.

Produces a scored readiness report with a letter grade (A-F) and
actionable recommendations for OSPO review and compliance.
- TypeScript MCP server with 3 tools:
  - scan_dependencies: clones repo, npm install, license-checker
  - check_license_compatibility: flags copyleft/unknown/non-OSI
  - generate_sbom: CycloneDX 1.5 SBOM generation
- .mcp.json for auto-start via Copilot CLI
- Updated SKILL.md Check 3 to use MCP tools with API fallback
- Added optional SBOM generation section
Separate skill with a TypeScript MCP server that provides:
- scan_dependencies: clones repo, npm install, license-checker for all transitive deps
- check_license_compatibility: flags copyleft/unknown/non-OSI conflicts
- generate_sbom: CycloneDX 1.5 SBOM generation

Works alongside the ospo-readiness skill (unchanged).
- Detect Python projects (requirements.txt, pyproject.toml, setup.py, Pipfile)
- Use python3 venv + pip-licenses for dependency license scanning
- Add license normalizer mappings for common Python license strings
  (e.g. 'Mozilla Public License 2.0 (MPL 2.0)' → 'MPL-2.0')
- Add Python-2.0, HPND to permissive license set
- Update SKILL.md to document both npm and Python support
The MCP-powered dependency scanner is a separate standalone project,
not part of this community skills submission. Only the text-based
ospo-readiness skill belongs here.
Introduces a new top-level agentic-workflows/ directory for GitHub Agentic
Workflow (.md) files that compile with gh aw. Starts with 6 curated OSPO
workflows:

- org-health: weekly org health report with stale items, merge times, leaderboards
- contributors-report: new/returning contributor metrics
- release-compliance-checker: OSS release readiness audit
- stale-repos: detect inactive repositories
- dora-metrics: DORA engineering metrics (deploy freq, lead time, CFR, MTTR)
- team-permissions-audit: flag direct (non-team) collaborator access

Includes a top-level README introducing agentic workflows and an OSPO
category README with quick-start guide.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new top-level Agentic Workflows content area to the repo (starting with an OSPO category), plus an ospo-readiness skill and skills index entry to complement the new automation-focused content.

Changes:

  • Introduces agentic-workflows/ documentation plus an OSPO subfolder with 6 copy/paste gh aw workflow sources.
  • Adds a new skills/ospo-readiness skill for interactive repo readiness scanning.
  • Updates the skills index (docs/README.skills.md) to include the new skill.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
agentic-workflows/README.md Introduces the new “Agentic Workflows” top-level content type and explains format/guardrails.
agentic-workflows/ospo/README.md OSPO-specific index and usage instructions for the new workflow set.
agentic-workflows/ospo/org-health.md New weekly org health reporting workflow definition and instructions.
agentic-workflows/ospo/contributors-report.md New monthly contributors metrics workflow definition and instructions.
agentic-workflows/ospo/release-compliance-checker.md New issue-triggered OSS release compliance audit workflow definition and instructions.
agentic-workflows/ospo/stale-repos.md New monthly stale repository reporting workflow definition and instructions.
agentic-workflows/ospo/dora-metrics.md New monthly DORA metrics workflow definition and instructions.
agentic-workflows/ospo/team-permissions-audit.md New monthly team permissions audit workflow definition and instructions.
skills/ospo-readiness/SKILL.md Adds an interactive OSPO readiness scanning skill with scoring rubric and output format.
docs/README.skills.md Adds the new skill to the skills index for discoverability.

Comment on lines 97 to 103
## Available Workflow Categories

| Category | Description |
|---|---|
| **[OSPO](ospo/)** | Open Source Program Office — org health, contributor metrics, compliance, repo hygiene |

> More categories coming soon: DevRel, Security, InnerSource, DevOps
Copy link

Copilot AI Feb 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR introduces a new top-level content type (agentic-workflows/), but the repository-level discovery docs aren’t updated to include it (e.g., the root README.md “toolkit” links and “Repository Structure” section, and there’s no docs/README.agentic-workflows.md index like other content types). Add it to those indexes so users can find these workflows consistently.

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot open a new pull request to apply changes based on this feedback


permissions:
contents: read
issues: read
Copy link

Copilot AI Feb 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow declares permissions: issues: read, but step 7 creates or updates an issue. With read-only issue permissions, issue creation/updates will fail; change to issues: write.

Suggested change
issues: read
issues: write

Copilot uses AI. Check for mistakes.
Comment on lines +83 to +87
| PRs merged (last 30d) | `org:<ORG> is:pr is:merged merged:>={SINCE}` |
| PRs closed unmerged (last 30d) | `org:<ORG> is:pr is:closed is:unmerged closed:>={SINCE}` |
| Stale issues (60+ days) | `org:<ORG> is:issue is:open updated:<={60_DAYS_AGO}` |
| Stale PRs (30+ days) | `org:<ORG> is:pr is:open updated:<={30_DAYS_AGO}` |

Copy link

Copilot AI Feb 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The stale issue/PR search queries use placeholders like {60_DAYS_AGO} / {30_DAYS_AGO}, but those values aren’t defined in Step 1 (only STALE_ISSUE_DAYS / STALE_PR_DAYS are). Define explicit cutoff dates (e.g., ISO timestamps) and reference those in the queries so the workflow is unambiguous.

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot open a new pull request to apply changes based on this feedback

@github-actions github-actions bot force-pushed the main branch 5 times, most recently from 7cfff8e to dcb07a6 Compare February 23, 2026 23:55
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ashleywolf ashleywolf changed the title feat: add agentic-workflows section with 6 OSPO workflows feat: add example OSPO agentic workflows Feb 24, 2026
ashleywolf and others added 2 commits February 23, 2026 16:07
- Remove redundant safe-outputs section from top-level README (already in example)
- Remove duplicate Quick Start from OSPO README
- Condense org-health report template from 83-line example to 10-line section list
- Condense compliance-checker report template similarly
- Total: 1183 → 712 lines (-40%)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
ashleywolf and others added 4 commits February 23, 2026 18:13
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
ashleywolf and others added 3 commits February 23, 2026 18:18
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ashleywolf
Copy link
Collaborator Author

Superseded by #802 — rebased onto staged branch and restructured to use workflows/ directory per #786.

@ashleywolf ashleywolf closed this Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants